import java.net.*;
import java.util.*;
public class Test {
	public static void main(String[] arg) {
		try {
			InetAddress addr = InetAddress.getLocalHost();
			System.out.println(addr.getHostAddress());
		} catch (Exception e) {
			System.out.println(e);
		}
		
		Scanner in = new Scanner(System.in);
		while(in.hasNext()) {
			String line = in.nextLine();
			System.out.println(line.replaceFirst("\\w+?\\s", ""));
		}
	}
}
